{empty name="$xiazai"}
<div class="box">
<div class="box-header ">
    <ob_link><a class="btn exportall" url="{:url('staffWord', array('id' => $staff['id'],'name'=>$staff['staff_name']))}"><i class="fa fa-download"></i> 下 载</a></ob_link>
</div>
<div class="box-body">
{/empty}
<div style='width:auto'>
    <style type='text/css'>
        td,th{height:25px;padding: 5px;text-align: center;}
        th{background: #ddd};
    </style>
    <table border='2' cellspacing=0 cellpadding=0 bordercolor='#333' width='auto'>
        <tr align='center'>
            <th colspan='15'>个 人 信 息</th>
        </tr>
        <tr align='center'>
            <td colspan='2'>入职部门</td>
            <td colspan='3'>{$staff['branch_name']}</td>
            <td colspan='2'>入职岗位</td>
            <td colspan='2'>{$staff['position']}</td>
            <td colspan='2'>入职时间</td>
            <td colspan='4'>{$staff['entry_time']}</td>
            <!-- <td colspan='2'>转正时间</td> -->
            <!-- <td colspan='2'>{$staff['positive_time']}</td> -->
        </tr>
        <tr align='center'>
            <td colspan='2'>姓 名</td>
            <td colspan='3'>{$staff['staff_name']}</td>
            <td colspan='2'>邮 箱</td>
            <td colspan='2'>{$staff['email']}</td>
            <td colspan='2'>性 别</td>
            <td colspan='2'>{$staff['sex']}</td>
            <td rowspan='3' colspan='2'><img width='80' src="{$staff.href}"></td>
        </tr>
        <tr align='center'>
            <td colspan='2'>出生年月</td>
            <td colspan='3'>{$staff['birthday']}</td>
            <td colspan='2'>民族</td>
            <td colspan='2'>{$staff['ethnic']}</td>
            <td colspan='2'>政治面貌</td>
            <td colspan='2'>{$staff['politics']}</td>
        </tr>
        <tr align='center'>
            <td colspan='2'>身高/体重</td>
            <td colspan='3'>{$staff['height_weight']}</td>
            <td colspan='2'>婚 否</td>
            <td colspan='2'>{$staff['marry_status']}</td>
            <td colspan='2'>参加工作时间</td>
            <td colspan='2'>{$staff['work_time']}</td>
        </tr>
        <tr align='center'>
            <td colspan='2'></td>
            <td colspan='3'>户籍类型</td>
            <td colspan='2'>{$staff['census_type']}</td>
            <td colspan='2'>户口所在地</td>
            <td colspan='6'>{$staff['car_place']}</td>
        </tr>
        <tr align='center'>
            <td colspan='2'>手机号码</td>
            <td colspan='5'>{$staff['phones']}</td>
            <td colspan='2'>现住地址</td>
            <td colspan='6'>{$staff['xz_place']}</td>
        </tr>
        <tr align='center'>
            <td colspan='2'>身份证号码</td>
            <td colspan='5'>{$staff['card_id']}</td>
            <td colspan='2'>身份证地址</td>
            <td colspan='6'>{$staff['car_place']}</td>
        </tr>
        <tr align='center'>
            <td colspan='2'>银行卡信息</td>
            <td colspan='5'>{$staff['pay_name']}</td>
            <td colspan='2'>银行卡账号</td>
            <td colspan='6'>{$staff['pay_id']}</td>
        </tr>
        <tr align='center'>
            <th colspan='15'>*合 同 信 息</th>
        </tr>
        <tr align='center'>
            <td colspan='3'>合 同 生 效 日</td>
            <td colspan='4'>{$staff['ht_start']}</td>
            <td colspan='3'>合 同 终 止 日</td>
            <td colspan='5'>{$staff['ht_end']}</td>
        </tr>
        <tr align='center'>
            <th colspan='15'>*紧 急 联 系 方 式</th>
        </tr>
        <tr align='center'>
            <td colspan='3'>与本人关系</td>
            <td colspan='2'>{$staff['jj_gx']}</td>
            <td colspan='2'>姓 名</td>
            <td colspan='3'>{$staff['jj_name']}</td>
            <td colspan='2'>紧急联络人电话</td>
            <td colspan='3'>{$staff['jj_phone']}</td>
        </tr>
        <tr align='center'>
            <th colspan='15'>*教 育 背 景</th>
        </tr>
        <tr align='center'>
            <td colspan='1'></td>
            <td colspan='4'>毕业日期（最高学历）</td>
            <td colspan='4'>学校</td>
            <td colspan='3'>专业</td>
            <td colspan='3'>学历</td>
       <!--      <td colspan='2'>学位</td> -->
        </tr>
        <tr align='center'>
            <td colspan='1'></td>
            <td colspan='4'>{$staff['graduation']}</td>
            <td colspan='4'>{$staff['school']}</td>
            <td colspan='3'>{$staff['major']}</td>
            <td colspan='3'>{$staff['education']}</td>
            <!-- <td colspan='2'>{$staff['occupational']}</td> -->
        </tr>
        <tr align='center'>
            <th colspan='15'>*培 训 经 历</th>
        </tr>
        <tr align='center'>
            <td colspan='1'></td>
            <td colspan='4'>起止日期</td>
            <td colspan='4'>培训机构</td>
            <td colspan='3'>培训内容</td>
            <td colspan='3'>证书</td>
        </tr>
        {notempty name='$staff_train'}
        {volist name='staff_train' id='vo'}
        <tr align='center'>
            <td colspan='1'></td>
            <td colspan='4'>{$vo.t_start_time}--{$vo.t_end_time}</td>
            <td colspan='4'>{$vo.t_name}</td>
            <td colspan='3'>{$vo.t_content}</td>
            <td colspan='3'>{$vo.t_certificate}</td>
        </tr>
        {/volist}
        {else/}
        <tr align='center'>
            <td colspan='1'></td>
            <td colspan='4'></td>
            <td colspan='4'></td>
            <td colspan='3'></td>
            <td colspan='3'></td>
        </tr>
        {/notempty}
        <tr align='center'>
            <th colspan='15'>*工 作 经 历</th>
        </tr>
        <tr align='center'>
            <td colspan='1'></td>
            <td colspan='4'>起止日期</td>
            <td colspan='4'>工作单位</td>
            <td colspan='2'>已任职务</td>
            <td colspan='2'>证明人</td>
            <td colspan='2'>薪酬待遇</td>
        </tr>
        {notempty name='$staff_work'}
        {volist name='staff_work' id='vo'}
        <tr align='center'>
            <td colspan='1'></td>
            <td colspan='4'>{$vo.w_start_time}--{$vo.w_end_time}</td>
            <td colspan='4'>{$vo.w_name}</td>
            <td colspan='2'>{$vo.w_duty}</td>
            <td colspan='2'>{$vo.w_peson}</td>
            <td colspan='2'>{$vo.w_payment}</td>
        </tr>
        {/volist}
        {else/}
        <tr align='center'>
            <td colspan='1'></td>
            <td colspan='4'></td>
            <td colspan='4'></td>
            <td colspan='2'></td>
            <td colspan='2'></td>
            <td colspan='2'></td>
        </tr>
        {/notempty}
        <tr align='center'>
            <th colspan='15'>员 工 轨 迹</th>
        </tr>
        <tr align='center'>
            <td colspan='1'></td>
            <td colspan='4'>名 称</td>
            <td colspan='4'>时 间</td>
            <td colspan='6'>内 容</td>
        </tr>
        {notempty name='$staff_child'}
        {volist name='staff_child' id='vo'}
        <tr align='center'>
            <td colspan='1'></td>
            <td colspan='4'>{$vo.ch_name}</td>
            <td colspan='4'>{$vo.ch_time}</td>
            <td colspan='6'>{$vo.ch_content}</td>
        </tr>
        {/volist}
        {else/}
        <tr align='center'>
            <td colspan='1'></td>
            <td colspan='4'></td>
            <td colspan='4'></td>
            <td colspan='6'></td>
        </tr>
        {/notempty}
    </table>
    {empty name="$xiazai"}
    <script type="text/javascript">
    	var id="{$staff.id}";
    	var name="{$staff.staff_name}";
    	$('.exportall').click(function(){
    		layer.msg('正在下载请稍后!!',{icon:16});
    		window.location.href='/admin/staff/staffWord/xiazai/1/id/'+id+'/name/'+name;
    	})
    </script>

    {/empty}
</div>
{empty name="$xiazai"}
<div class="box-footer">
        
        <a class="btn" onclick="javascript:history.back(-1);return false;"><i class="fa fa-history"></i> 返 回</a>
      </div>
</div>
</div>
<!-- </div> -->
{/empty}